package com.example.common.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel
public class EscortProduct {
    @ApiModelProperty(value = "产品id")
    private Long cpId;
    @ApiModelProperty(value = "产品名称")
    private String name;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "禁用状态")
    private Integer disable;
    @ApiModelProperty(value = "陪护类型id")
    private Integer ctId;
    @ApiModelProperty(value = "陪护类型")
    private String etName;
    @ApiModelProperty(value = "服务对象")
    private String serviceObject;
    @ApiModelProperty(value = "服务内容")
    private String serviceContent;
    @ApiModelProperty(value = "服务须知")
    private String notice;
    @ApiModelProperty(value = "服务价格")
    private double price;
    @ApiModelProperty(value = "服务规格")
    private String spec;
    @ApiModelProperty(value = "服务时限")
    private Long limitTime;
    @ApiModelProperty(value = "上架状态")
    private Integer showAble;
    @ApiModelProperty(value = "套餐图标")
    private String icon;

}
